import React from 'react'
import style from "./index.module.scss"
import { getAssetPath } from '@/utils'
type Props = {
    title?: string
    imgUrl?: string
    className?: string
}
const ScheduleCard: React.FC<Props> = (props) => {
    const { title = "立式循环光风能烘干机", imgUrl = getAssetPath("dryer.png"), className } = props
    return (
        <div className={`schedule-card flex flex-col${className ? " " + className : ""}`}>
            <div className={`title italic mb-[20px] text-[14px] indent-8 tracking-[1px] text-[#9db6da] font-bold ${style.title}`}>
                {title}
            </div>
            <img src={imgUrl} alt="" className='w-full' />
        </div>
    )
}

export default ScheduleCard